home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / Canvas Tools / Smart Mouse.rsrc / bin.rsrc_LDEF_1000_Smart Mouse LDEF.txt < prev    next >
Text File  |  1995-05-12  |  16KB  |  300 lines

  1. start:
  2. 00000000  600E                     bra        +0x10 /* 00000010 */
  3. 00000002  0000 4C44                ori.b      D0, 0x44 /* 'D' */
  4. 00000006  4546                     chk.w      D2, D6
  5. 00000008  03E8 0000                bset       [A0 + 0x0], D1
  6. 0000000C  0000 0000                ori.b      D0, 0x0
  7. label00000010:
  8. 00000010  41FA FFEE                lea.l      A0, [PC - 0x12 /* 00000000, value 0x600E0000 */]
  9. 00000014  4E71                     nop
  10. 00000016  4E71                     nop
  11. 00000018  6000 0034                bra        +0x36 /* 0000004E */
  12. 0000001C  7000                     moveq.l    D0, 0x00
  13. label0000001E:
  14. 0000001E  2F09                     move.l     -[A7], A1
  15. label00000020:
  16. 00000020  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  17. 00000024  4E75                     rts
  18. 00000026  7000                     moveq.l    D0, 0x00
  19. 00000028  60F6                     bra        -0x8 /* 00000020 */
  20. fn0000002A:
  21. 0000002A  225F                     movea.l    A1, [A7]+
  22. 0000002C  205F                     movea.l    A0, [A7]+
  23. 0000002E  A029                     syscall    HLock
  24. 00000030  4EFA FFEC                jmp        [PC - 0x14 /* 0000001E */]
  25. fn00000034:
  26. 00000034  225F                     movea.l    A1, [A7]+
  27. 00000036  205F                     movea.l    A0, [A7]+
  28. 00000038  A02A                     syscall    HUnlock
  29. 0000003A  4EFA FFE2                jmp        [PC - 0x1E /* 0000001E */]
  30. fn0000003E:
  31. 0000003E  221F                     move.l     D1, [A7]+
  32. 00000040  201F                     move.l     D0, [A7]+
  33. 00000042  225F                     movea.l    A1, [A7]+
  34. 00000044  205F                     movea.l    A0, [A7]+
  35. 00000046  A02E                     syscall    BlockMove/BlockMoveData
  36. 00000048  2241                     movea.l    A1, D1
  37. 0000004A  4EFA FFD2                jmp        [PC - 0x2E /* 0000001E */]
  38. label0000004E:
  39. 0000004E  4E56 FFB6                link       A6, -0x004A
  40. 00000052  2F07                     move.l     -[A7], D7
  41. 00000054  3E2E 001A                move.w     D7, [A6 + 0x1A]
  42. 00000058  0C47 0001                cmpi.w     D7, 0x1
  43. 0000005C  664A                     bne        +0x4C /* 000000A8 */
  44. 0000005E  206E 0008                movea.l    A0, [A6 + 0x8]
  45. 00000062  2050                     movea.l    A0, [A0]
  46. 00000064  2068 0050                movea.l    A0, [A0 + 0x50]
  47. 00000068  326E 000E                movea.w    A1, [A6 + 0xE]
  48. 0000006C  D3D0                     add.l      A1, [A0]
  49. 0000006E  2D49 FFB6                move.l     [A6 - 0x4A], A1
  50. 00000072  2F2E FFB6                move.l     -[A7], [A6 - 0x4A]
  51. 00000076  486E FFBA                pea.l      [A6 - 0x46]
  52. 0000007A  4878 0044                push.l     0x44 /* 'D' */
  53. 0000007E  4EBA FFBE                jsr        [PC - 0x42 /* 0000003E */]
  54. 00000082  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  55. 00000086  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  56. 0000008A  486E FFBA                pea.l      [A6 - 0x46]
  57. 0000008E  4EBA 01AC                jsr        [PC + 0x1AC /* 0000023C */]
  58. 00000092  4FEF 000A                lea.l      A7, [A7 + 0xA]
  59. 00000096  4A2E 0018                tst.b      [A6 + 0x18]
  60. 0000009A  671C                     beq        +0x1E /* 000000B8 */
  61. 0000009C  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  62. 000000A0  4EBA 025E                jsr        [PC + 0x25E /* 00000300 */]
  63. 000000A4  588F                     addq.l     A7, 4
  64. 000000A6  6010                     bra        +0x12 /* 000000B8 */
  65. label000000A8:
  66. 000000A8  0C47 0002                cmpi.w     D7, 0x2
  67. 000000AC  660A                     bne        +0xC /* 000000B8 */
  68. 000000AE  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  69. 000000B2  4EBA 024C                jsr        [PC + 0x24C /* 00000300 */]
  70. 000000B6  588F                     addq.l     A7, 4
  71. label000000B8:
  72. 000000B8  2E1F                     move.l     D7, [A7]+
  73. 000000BA  4E5E                     unlink     A6
  74. 000000BC  205F                     movea.l    A0, [A7]+
  75. 000000BE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  76. 000000C2  4ED0                     jmp        [A0]
  77. 000000C4  4D41                     chk.w      D6, D1
  78. 000000C6  494E                     chk.w      D4, A6
  79. 000000C8  2020                     move.l     D0, -[A0]
  80. 000000CA  2020                     move.l     D0, -[A0]
  81. fn000000CC:
  82. 000000CC  4E56 FFE6                link       A6, -0x001A
  83. 000000D0  486E FFEE                pea.l      [A6 - 0x12]
  84. 000000D4  A898                     syscall    GetPenState
  85. 000000D6  A89E                     syscall    PenNormal
  86. 000000D8  3F3C 0001                move.w     -[A7], 0x1
  87. 000000DC  3F3C 0002                move.w     -[A7], 0x2
  88. 000000E0  A89B                     syscall    PenSize
  89. 000000E2  206E 0008                movea.l    A0, [A6 + 0x8]
  90. 000000E6  3010                     move.w     D0, [A0]
  91. 000000E8  5840                     addq.w     D0, 4
  92. 000000EA  3D40 FFE6                move.w     [A6 - 0x1A], D0
  93. 000000EE  206E 0008                movea.l    A0, [A6 + 0x8]
  94. 000000F2  3028 0002                move.w     D0, [A0 + 0x2]
  95. 000000F6  5440                     addq.w     D0, 2
  96. 000000F8  3D40 FFE8                move.w     [A6 - 0x18], D0
  97. 000000FC  206E 0008                movea.l    A0, [A6 + 0x8]
  98. 00000100  3028 0004                move.w     D0, [A0 + 0x4]
  99. 00000104  5940                     subq.w     D0, 4
  100. 00000106  3D40 FFEA                move.w     [A6 - 0x16], D0
  101. 0000010A  206E 0008                movea.l    A0, [A6 + 0x8]
  102. 0000010E  3028 0006                move.w     D0, [A0 + 0x6]
  103. 00000112  5940                     subq.w     D0, 4
  104. 00000114  3D40 FFEC                move.w     [A6 - 0x14], D0
  105. 00000118  3F2E FFE8                move.w     -[A7], [A6 - 0x18]
  106. 0000011C  302E FFEA                move.w     D0, [A6 - 0x16]
  107. 00000120  5540                     subq.w     D0, 2
  108. 00000122  3F00                     move.w     -[A7], D0
  109. 00000124  A893                     syscall    MoveTo
  110. 00000126  302E FFE8                move.w     D0, [A6 - 0x18]
  111. 0000012A  5440                     addq.w     D0, 2
  112. 0000012C  3F00                     move.w     -[A7], D0
  113. 0000012E  3F2E FFEA                move.w     -[A7], [A6 - 0x16]
  114. 00000132  A891                     syscall    LineTo
  115. 00000134  3F2E FFEC                move.w     -[A7], [A6 - 0x14]
  116. 00000138  3F2E FFE6                move.w     -[A7], [A6 - 0x1A]
  117. 0000013C  A891                     syscall    LineTo
  118. 0000013E  486E FFEE                pea.l      [A6 - 0x12]
  119. 00000142  A899                     syscall    SetPenState
  120. 00000144  4E5E                     unlink     A6
  121. 00000146  4E75                     rts
  122. 00000148  4452                     neg.w      [A2]
  123. 0000014A  4157                     chk.w      D0, [A7]
  124. 0000014C  4348                     chk.w      D1, A0
  125. 0000014E  4543                     chk.w      D2, D3
  126. fn00000150:
  127. 00000150  4E56 FFE6                link       A6, -0x001A
  128. 00000154  486E FFEE                pea.l      [A6 - 0x12]
  129. 00000158  A898                     syscall    GetPenState
  130. 0000015A  A89E                     syscall    PenNormal
  131. 0000015C  206E 0008                movea.l    A0, [A6 + 0x8]
  132. 00000160  43EE FFE6                lea.l      A1, [A6 - 0x1A]
  133. 00000164  22D8                     move.l     [A1]+, [A0]+
  134. 00000166  22D8                     move.l     [A1]+, [A0]+
  135. 00000168  486E FFE6                pea.l      [A6 - 0x1A]
  136. 0000016C  4267                     clr.w      -[A7]
  137. 0000016E  3F3C 0003                move.w     -[A7], 0x3
  138. 00000172  A8A9                     syscall    InsetRect
  139. 00000174  3F2E FFE8                move.w     -[A7], [A6 - 0x18]
  140. 00000178  3F2E FFEA                move.w     -[A7], [A6 - 0x16]
  141. 0000017C  A893                     syscall    MoveTo
  142. 0000017E  302E FFE8                move.w     D0, [A6 - 0x18]
  143. 00000182  5840                     addq.w     D0, 4
  144. 00000184  3F00                     move.w     -[A7], D0
  145. 00000186  3F2E FFEA                move.w     -[A7], [A6 - 0x16]
  146. 0000018A  A891                     syscall    LineTo
  147. 0000018C  302E FFE8                move.w     D0, [A6 - 0x18]
  148. 00000190  5440                     addq.w     D0, 2
  149. 00000192  3F00                     move.w     -[A7], D0
  150. 00000194  3F2E FFE6                move.w     -[A7], [A6 - 0x1A]
  151. 00000198  A891                     syscall    LineTo
  152. 0000019A  3F2E FFE8                move.w     -[A7], [A6 - 0x18]
  153. 0000019E  3F2E FFEA                move.w     -[A7], [A6 - 0x16]
  154. 000001A2  A891                     syscall    LineTo
  155. 000001A4  486E FFEE                pea.l      [A6 - 0x12]
  156. 000001A8  A899                     syscall    SetPenState
  157. 000001AA  4E5E                     unlink     A6
  158. 000001AC  4E75                     rts
  159. 000001AE  4452                     neg.w      [A2]
  160. 000001B0  4157                     chk.w      D0, [A7]
  161. 000001B2  4445                     neg.w      D5
  162. 000001B4  4C54 4E56                movem.l    D1,D2,D4,D6,A1,A2,A3,A6, [A4]
  163. // begin alternate branch 000001B6-000001BC
  164. fn000001B6:
  165. 000001B6  4E56 0000                link       A6, 0
  166. 000001BA  2F0B                     move.l     -[A7], A3
  167. // end alternate branch 000001B6-000001BC
  168. fn000001B6: // (misaligned)
  169. 000001B8  0000 2F0B                ori.b      D0, 0xB
  170. 000001BC  266E 0008                movea.l    A3, [A6 + 0x8]
  171. 000001C0  3F13                     move.w     -[A7], [A3]
  172. 000001C2  A887                     syscall    TextFont
  173. 000001C4  3F2B 0002                move.w     -[A7], [A3 + 0x2]
  174. 000001C8  A888                     syscall    TextFace
  175. 000001CA  3F2B 0004                move.w     -[A7], [A3 + 0x4]
  176. 000001CE  A889                     syscall    TextMode
  177. 000001D0  3F2B 0006                move.w     -[A7], [A3 + 0x6]
  178. 000001D4  A88A                     syscall    TextSize
  179. 000001D6  265F                     movea.l    A3, [A7]+
  180. 000001D8  4E5E                     unlink     A6
  181. 000001DA  4E75                     rts
  182. 000001DC  5345                     subq.w     D5, 1
  183. 000001DE  5454                     addq.w     [A4], 2
  184. 000001E0  4558                     chk.w      D2, [A0]+
  185. 000001E2  5453                     addq.w     [A3], 2
  186. fn000001E4:
  187. 000001E4  4E56 FFFC                link       A6, -0x0004
  188. 000001E8  2F07                     move.l     -[A7], D7
  189. 000001EA  7E00                     moveq.l    D7, 0x00
  190. 000001EC  42A7                     clr.l      -[A7]
  191. 000001EE  4879 4653 7465           push.l     0x46537465 /* 'FSte' */
  192. 000001F4  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  193. 000001F8  A9A0                     syscall    GetResource
  194. 000001FA  205F                     movea.l    A0, [A7]+
  195. 000001FC  2D48 FFFC                move.l     [A6 - 0x4], A0
  196. 00000200  4AAE FFFC                tst.l      [A6 - 0x4]
  197. 00000204  6604                     bne        +0x6 /* 0000020A */
  198. 00000206  7E01                     moveq.l    D7, 0x01
  199. 00000208  6022                     bra        +0x24 /* 0000022C */
  200. label0000020A:
  201. 0000020A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  202. 0000020E  4EBA FE1A                jsr        [PC - 0x1E6 /* 0000002A */]
  203. 00000212  206E FFFC                movea.l    A0, [A6 - 0x4]
  204. 00000216  2F10                     move.l     -[A7], [A0]
  205. 00000218  4EBA FF9C                jsr        [PC - 0x64 /* 000001B6 */]
  206. 0000021C  588F                     addq.l     A7, 4
  207. 0000021E  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  208. 00000222  4EBA FE10                jsr        [PC - 0x1F0 /* 00000034 */]
  209. 00000226  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  210. 0000022A  A9A3                     syscall    ReleaseResource
  211. label0000022C:
  212. 0000022C  3007                     move.w     D0, D7
  213. 0000022E  2E1F                     move.l     D7, [A7]+
  214. 00000230  4E5E                     unlink     A6
  215. 00000232  4E75                     rts
  216. 00000234  5345                     subq.w     D5, 1
  217. 00000236  5454                     addq.w     [A4], 2
  218. 00000238  4558                     chk.w      D2, [A0]+
  219. 0000023A  5446                     addq.w     D6, 2
  220. fn0000023C:
  221. 0000023C  4E56 FFF0                link       A6, -0x0010
  222. 00000240  2F07                     move.l     -[A7], D7
  223. 00000242  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  224. 00000246  A8A3                     syscall    EraseRect
  225. 00000248  206E 000E                movea.l    A0, [A6 + 0xE]
  226. 0000024C  226E 000E                movea.l    A1, [A6 + 0xE]
  227. 00000250  3029 0004                move.w     D0, [A1 + 0x4]
  228. 00000254  9050                     sub.w      D0, [A0]
  229. 00000256  0C40 000C                cmpi.w     D0, 0xC
  230. 0000025A  6600 0096                bne        +0x98 /* 000002F2 */
  231. 0000025E  206E 0008                movea.l    A0, [A6 + 0x8]
  232. 00000262  2E10                     move.l     D7, [A0]
  233. 00000264  206E 000E                movea.l    A0, [A6 + 0xE]
  234. 00000268  43EE FFF8                lea.l      A1, [A6 - 0x8]
  235. 0000026C  22D8                     move.l     [A1]+, [A0]+
  236. 0000026E  22D8                     move.l     [A1]+, [A0]+
  237. 00000270  536E FFFC                subq.w     [A6 - 0x4], 1
  238. 00000274  536E FFF8                subq.w     [A6 - 0x8], 1
  239. 00000278  0807 0008                btst.b     D7, 0x8
  240. 0000027C  6722                     beq        +0x24 /* 000002A0 */
  241. 0000027E  41EE FFF0                lea.l      A0, [A6 - 0x10]
  242. 00000282  43EE FFF8                lea.l      A1, [A6 - 0x8]
  243. 00000286  20D9                     move.l     [A0]+, [A1]+
  244. 00000288  20D9                     move.l     [A0]+, [A1]+
  245. 0000028A  302E FFF2                move.w     D0, [A6 - 0xE]
  246. 0000028E  0640 000C                addi.w     D0, 0xC
  247. 00000292  3D40 FFF6                move.w     [A6 - 0xA], D0
  248. 00000296  486E FFF0                pea.l      [A6 - 0x10]
  249. 0000029A  4EBA FE30                jsr        [PC - 0x1D0 /* 000000CC */]
  250. 0000029E  588F                     addq.l     A7, 4
  251. label000002A0:
  252. 000002A0  066E 000C FFFA           addi.w     [A6 - 0x6], 0xC
  253. 000002A6  0807 0007                btst.b     D7, 0x7
  254. 000002AA  6724                     beq        +0x26 /* 000002D0 */
  255. 000002AC  41EE FFF0                lea.l      A0, [A6 - 0x10]
  256. 000002B0  43EE FFF8                lea.l      A1, [A6 - 0x8]
  257. 000002B4  20D9                     move.l     [A0]+, [A1]+
  258. 000002B6  20D9                     move.l     [A0]+, [A1]+
  259. 000002B8  302E FFF2                move.w     D0, [A6 - 0xE]
  260. 000002BC  5040                     addq.w     D0, 8
  261. 000002BE  3D40 FFF6                move.w     [A6 - 0xA], D0
  262. 000002C2  486E FFF0                pea.l      [A6 - 0x10]
  263. 000002C6  4EBA FE88                jsr        [PC - 0x178 /* 00000150 */]
  264. 000002CA  588F                     addq.l     A7, 4
  265. 000002CC  506E FFFA                addq.w     [A6 - 0x6], 8
  266. label000002D0:
  267. 000002D0  3F3C 03E9                move.w     -[A7], 0x3E9
  268. 000002D4  4EBA FF0E                jsr        [PC - 0xF2 /* 000001E4 */]
  269. 000002D8  548F                     addq.l     A7, 2
  270. 000002DA  206E 0008                movea.l    A0, [A6 + 0x8]
  271. 000002DE  4868 0004                pea.l      [A0 + 0x4]
  272. 000002E2  306E 000C                movea.w    A0, [A6 + 0xC]
  273. 000002E6  4868 FFFC                pea.l      [A0 - 0x4]
  274. 000002EA  486E FFF8                pea.l      [A6 - 0x8]
  275. 000002EE  4267                     clr.w      -[A7]
  276. 000002F0  A9CE                     syscall    TETextBox/TextBox
  277. label000002F2:
  278. 000002F2  2E1F                     move.l     D7, [A7]+
  279. 000002F4  4E5E                     unlink     A6
  280. 000002F6  4E75                     rts
  281. 000002F8  4452                     neg.w      [A2]
  282. 000002FA  4157                     chk.w      D0, [A7]
  283. 000002FC  4345                     chk.w      D1, D5
  284. 000002FE  4C4C 4E56                movem.l    D1,D2,D4,D6,A1,A2,A3,A6, A4
  285. // begin alternate branch 00000300-0000030A
  286. fn00000300:
  287. 00000300  4E56 0000                link       A6, 0
  288. 00000304  08B8 0007 0938           bclr.b     [0x00000938 /* HiliteMode */], 0x7
  289. // end alternate branch 00000300-0000030A
  290. fn00000300: // (misaligned)
  291. 00000302  0000 08B8                ori.b      D0, 0xB8
  292. 00000306  0007 0938                ori.b      D7, 0x38 /* '8' */
  293. 0000030A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  294. 0000030E  A8A4                     syscall    InvertRect
  295. 00000310  4E5E                     unlink     A6
  296. 00000312  4E75                     rts
  297. 00000314  4849                     pea.l      A1
  298. 00000316  4C49 4748                movem.l    D3,D6,A0,A1,A2,A6, A1
  299. 0000031A  5442                     addq.w     D2, 2
  300.